package com.xdcplus.web.common.pojo.dto.alarm;

import com.xdcplus.mp.domain.oracle.Base;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 设备告警组表(ToolAlarmGroup)表更新入参DTO类
 * 
 * @author bullion.yan
 * @since 2024-06-05 16:16:14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "")
@SuppressWarnings("serial")
public class ToolAlarmGroupDTO extends Base implements Serializable {
    private static final long serialVersionUID = 923465728271273711L;
    @ApiModelProperty("分类类型")
    @NotEmpty(message = "分类类型不能为空")
    private String groupType;
    @ApiModelProperty("上级分类")
    @NotNull(message = "上级分类不能为空")
    private Long parentId;
    @ApiModelProperty("设备告警组名称")
    @NotEmpty(message = "设备告警组名称不能为空")
    private String toolGroupName;
    @ApiModelProperty("设备告警组编号")
    @NotEmpty(message = "设备告警组编号不能为空")
    private String toolGroupCode;

}
